#ifndef _DEPLACEMENT_H
#define _DEPLACEMENT_H

#include "Occupation.h"
#include "Position.h"
#include "Entite.h"
#include "Carte.h"
#include "PathFinding.h"
#include "defines.h"

#include <math.h>
#include <iostream>
#include <deque>

// TODO : Thread

class Carte;

class Deplacement : public Occupation{

	public :
		Deplacement(Entite *e, Position p, Carte* c);
		void executer();
		bool estFini();
		void calculerChemin();
	private :
		std::deque<Position> checkpoints;
		Position dest;
		Entite *entite;
		Carte *carte;
		bool fini;
};

#endif
